package com.student.work.model;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * @date 2020/2/22 12:23
 */
public class UserRegisterInfo {

    private Long id;

    private Long userId;

    private String userName;

    private String mobile;

    private String password;

    private String role;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date gmtCreate;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date gmtModified;

    public UserRegisterInfo(Long id, Long userId, String userName, String mobile, String password,
                            String role, Date gmtCreate, Date gmtModified) {
        this.id = id;
        this.userId = userId;
        this.userName = userName;
        this.mobile = mobile;
        this.password = password;
        this.role = role;
        this.gmtCreate = gmtCreate;
        this.gmtModified = gmtModified;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }
}